package cn.edu.wfit.modules.infomanagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

/**
 * 书院维护对象 cis_dormbuilding
 * 
 * @author 韩强
 * @date 2024-11-18
 */
public class Dormbuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 书院id */
    private Long dormbuildingId;

    /** 书院名称 */
    @Excel(name = "书院名称")
    private String dormbuildingName;

    /** 书院编号 */
    @Excel(name = "书院编号")
    private String dormbuildingCode;

    /** 所在校区 */
    @Excel(name = "所在校区")
    private Long campusId;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setDormbuildingId(Long dormbuildingId) 
    {
        this.dormbuildingId = dormbuildingId;
    }

    public Long getDormbuildingId() 
    {
        return dormbuildingId;
    }
    public void setDormbuildingName(String dormbuildingName) 
    {
        this.dormbuildingName = dormbuildingName;
    }

    public String getDormbuildingName() 
    {
        return dormbuildingName;
    }
    public void setDormbuildingCode(String dormbuildingCode) 
    {
        this.dormbuildingCode = dormbuildingCode;
    }

    public String getDormbuildingCode() 
    {
        return dormbuildingCode;
    }
    public void setCampusId(Long campusId) 
    {
        this.campusId = campusId;
    }

    public Long getCampusId() 
    {
        return campusId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dormbuildingId", getDormbuildingId())
            .append("dormbuildingName", getDormbuildingName())
            .append("dormbuildingCode", getDormbuildingCode())
            .append("campusId", getCampusId())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
